package cn.gson.tj_springboot.model.service.AfterSalesService;

import cn.gson.tj_springboot.model.dao.limitDao.UserDao;
import cn.gson.tj_springboot.model.mapper.AfterSalesMapper.ProblemMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


import java.util.List;
import java.util.Map;
@Service
@Transactional(rollbackFor = Exception.class)
public class ProblemBaseService {

    @Autowired
    ProblemMapper problemMapper;
    @Autowired
    UserDao userDao;
    public List<Map<String,Object>> findAllProblem() {
        return problemMapper.findAllProblem();

    }}
